projects
/
opencc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599e4f7
)
Force build with c++17
author
Boyuan Yang
<byang@debian.org>
Tue, 9 Sep 2025 12:25:14 +0000
(08:25 -0400)
committer
Boyuan Yang
<byang@debian.org>
Sun, 28 Sep 2025 23:36:20 +0000
(19:36 -0400)
Needed by googletest.
Gbp-Pq: Name 0002-Force-build-with-c-17.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index bdf702c3a1bf336e1b0c86278af88d4f008dc124..2f2776cabe44de5416c7fcd8dd8d4ba5419ac739 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-155,7
+155,7
@@
add_definitions(
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
add_definitions(
- -std=c++1
4
+ -std=c++1
7
-Wall
)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
@@
-164,7
+164,7
@@
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
endif ()
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_definitions(
- -std=c++1
4
+ -std=c++1
7
-Wall
)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")